package com.qf.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_shop_goods")
public class Goods  implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String gname;
    private String gdesc;
    private BigDecimal gprice;
    private Integer gstock;
    private String gpic;
}
